package com.lap.framework.crypto;

/**
 * 转码
 *
 * @author Shuisheng Lao(劳水生)
 * @version 0.0.1
 */
public final class EncodeUtil {

  private static final String KEY = "1d0c6d8808724705b9abc1b5ad3ce07d";

  private EncodeUtil() {}

  public static String encode(String text) {
    return AesUtil.encrypt(text, KEY);
  }

  public static String decode(String text) {
    return AesUtil.decrypt(text, KEY);
  }
}
